@extends('public.layouts.main')
@section('style-link')
@endsection
@section('menu')
    @include('public.manager.menu')
@endsection
@section('content-header')
    <h5>
        <ol class="breadcrumb">
            <li><i class="fa fa-dashboard"></i> 党委 （超级管理员）</li>
            <li><a href="/manager/file.html">积分档案</a></li>
            <li class="active">编辑积分档案</li>
        </ol>
    </h5>
@endsection
@section('content')
    <div class="row">
        <div class="col-xs-12">
            <div class="box box-info">

                <!-- /.box-header -->
                <!-- form start -->
                <div class="form-horizontal">
                    <div class="box-body">
                        <div class="form-group">
                            <label for="inputEmail3" class="col-sm-2 control-label">文章标题：</label>
                            <div class="col-sm-6">
                                <input type="hidden" class="file-id" value="{!! $id !!}">
                                <input type="text" class="form-control file-title" placeholder="文章标题">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="inputPassword3" class="col-sm-2 control-label">内容</label>

                            <div class="col-sm-10">
                                <div class="col-sm-12">
                                    <textarea  name="content" class="file-content hidden"></textarea>
                                    <script id="editor" type="text/plain"></script>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="inputEmail3" class="col-sm-2 control-label">分数：</label>
                            <div class="col-sm-6">
                                <input type="text" class="form-control file-score" placeholder="分数">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="inputEmail3" class="col-sm-2 control-label">类型</label>
                            <div class="col-sm-6">
                                <select class="form-control file-type">
                                    <option value="">请选择类型</option>
                                    <option value="1">党员</option>
                                    <option value="2">党支部</option>
                                </select>
                            </div>
                        </div>
                    </div>
                    <!-- /.box-body -->
                    <div class="box-footer">
                        <div class="col-sm-2"></div>
                        <div class="col-sm-10">
                            <a href="javascript:;" class="btn btn-success btn-save">保存</a>
                            <a href="/manager/file.html" class="btn btn-default pull-right">返回</a>
                        </div>
                    </div>
                    <!-- /.box-footer -->
                </div>
            </div>
        </div>
    </div>
@endsection
@section('script')
    <script type="text/javascript" src="/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" src="/ueditor/ueditor.all.min.js"></script>
    <script type="text/javascript" src="/ueditor/lang/zh-cn/zh-cn.js"></script>
    <script src="/js/manager/file-edit.js?v={!! time() !!}"></script>
@endsection